<template>
  <div class="auth-layout">
    <div class="auth-container">
      <div class="auth-header">
        <h1>梅花易数后台管理系统</h1>
      </div>
      <div class="auth-content">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script setup>
// 认证布局组件
</script>

<style lang="scss" scoped>
.auth-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--bg-color);
  
  .auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    
    .auth-header {
      text-align: center;
      margin-bottom: 30px;
      
      h1 {
        margin: 0;
        font-size: 1.8rem;
        color: var(--el-color-primary);
      }
    }
  }
  
  // 响应式设计
  @media (max-width: 768px) {
    .auth-container {
      max-width: 90%;
      padding: 15px;
      margin: 10px;
      
      .auth-header {
        h1 {
          font-size: 1.5rem;
        }
      }
    }
  }
  
  @media (max-width: 480px) {
    .auth-container {
      max-width: 95%;
      padding: 10px;
      
      .auth-header {
        margin-bottom: 20px;
        
        h1 {
          font-size: 1.3rem;
        }
      }
    }
  }
}
</style>
